package com.liu.project.service.impl;

import com.liu.project.dao.SubjectMapper;
import com.liu.project.pojo.Subject;
import com.liu.project.service.SubjectService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @program: project
 * @description:
 * @author: 86187
 * @create: 2022-03-20 15:46
 **/

@Service
public class SubjectServiceImpl  implements SubjectService {

    @Autowired
    SubjectMapper subjectMapper;
    @Override
    public List<Subject> getAll() {
        return subjectMapper.getAll();
    }
}
